package com.atguigu.gulimall.order.rabbit.constant;

/**
 * @Description
 * @Author lhj
 * @Date 2024/5/18 22:08
 */
public class OrderRabbitConstant {

    /**
     * 订单交换机名称
     */
    public static final String ORDER_EVENT_EXCHANGE = "order-event-exchange";

    /**
     * 订单延迟队列
     */
    public static final String ORDER_DELAY_QUEUE = "order.delay.queue";

    /**
     * 延迟队列创建路由键
     */
    public static final String CREATE_ORDER_ROUTING_KEY = "order.create.order";

    /**
     * 关闭订单队列
     */
    public static final String ORDER_RELEASE_ORDER_QUEUE = "order.release.order.queue";

    /**
     * 关闭订单路由键
     */
    public static final String ORDER_RELEASE_ORDER_ROUTING_KEY = "order.release.order";

    /**
     * 库存交换机名称
     */
    public static final String STOCK_EVENT_EXCHANGE = "stock-event-exchange";

    /**
     * 释放库存队列路由键
     */
    public static final String STOCK_RELEASE_ROUTING_KEY = "stock.release.#";

    /**
     * 释放库存队列名称
     */
    public static final String STOCK_RELEASE_QUEUE = "stock.release.queue";
    
    public static final String ORDER_RELEASE_OTHER_ROUTING_KEY = "order.release.other.#";
    
}
